package org.belkodevelop.mail;

public class MailTemplate {
    
    private String templateName;
    private String subject;
    private Person person;
    
   
    public void setPerson(Person person) {
        this.person = person;
    }
    
    public Person getPerson() {
        return person;
    }
    
    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }
    
    public String getTemplateName() {
        return templateName;
    }
    
    public void setSubject(String subject) {
        this.subject = subject;
    }
    
    public String getSubject() {
        return subject;
    }
    
    public Mail createMail(String to) {
        return new Mail(to, this);
    }
}
